package com.woniuxy.sm.mapper;

import com.woniuxy.sm.bean.User;
import com.woniuxy.sm.bean.Users;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author linke
 * @version 1.0
 * @className: test
 * @description: TODO 类描述
 * @date 2021/11/12 15:12
 */


public interface UsersMapper {
    //查询用户表
	public List<Users> findUser();

    //查询单个用户
	public Users findUserName(String str);

    //查询单个用户
	public User findByName(String str);

    //添加用户
	public void addUser(User user);

    //修改密码
	public void updatePassword(@Param("index")int id,@Param("pages")String str);
}
